package
{
	import mx.core.Application;
	import cake.Dispatcher;
	import config.*;
	import cake.controller.Controller;
	import controllers.Menus;

	public class App extends Application
	{
		public var dispatcher:Dispatcher; 
		public var bootstrap:Bootstrap
		public var routes:Routes;
		
		public var c:Controller;
		public var menus:Menus;
		
		public function App()
		{
			//TODO: implement function
			super();
			trace('App made');
			dispatcher = Dispatcher.getInstance();
			bootstrap = new Bootstrap();
			
			c = new Controller();
			menus = new Menus();
			trace(c);
			routes = new Routes(this);
			
		}
		
	}
}